package org.argetr.resim.ui.component.basic;



import org.argetr.resim.proc.HistogramPR;
import org.argetr.resim.ui.model.ComponentItem;

public class HistogramCI extends ComponentItem {
	private static final long serialVersionUID = 1;

	
	public HistogramCI()
	{		
		super();
		_name= "Image\nHistogram";
		_description = "";
        initProc();
	}
	
	protected void initDescriptorList()
	{
		super.initDescriptorList();
	}

	@Override
	public Class<HistogramCI> getComponentClass() {
		// TODO Auto-generated method stub
		return HistogramCI.class;
	}

	@Override
	public void initProc() {
		if(_processor == null)
		{
			_processor = new HistogramPR();			
		}
	}
	public void updateProc() {
		if(_processor == null)
		{
			_processor = new HistogramPR();			
		}
	}
}